function [trial,conf] = run_trial_confidence(task,stimulus,frame,varargin)
% run_trial_confidence - run one trial of a given task + confidence rating
[trial] = run_trial(task,stimulus,frame,varargin);
[conf.rt,conf.resp]=confidence_rating(frame);